package com.ljh.mapper;

import com.ljh.pojo.OutTable;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljh.vo.OutTableVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 刘剑鸿
 * @since 2021-10-29
 */
@Mapper
@Repository
public interface OutTableMapper extends BaseMapper<OutTable> {

    List<OutTable> selectOutList();

    int insertOut(OutTable outTable);

    List<OutTable> selectListIDandname();


    int deleteByOutId(@Param("id") int OutTableId);
}
